<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<table class="tableList" >  
<tr>  
        <th>类名</th>  
        <th>方法名</th>  
        <th>URL</th>  
        <th>类型</th>  
<tr>  
    <c:forEach items="${list}" var="mvc" varStatus="status">  
    <tr id="${status.index}">  
        <td>${mvc.className}</td>  
        <td>${mvc.method}</td>  
        <td>  
            <c:choose>  
            <c:when test="${!fn:contains(mvc.url,'}') and (mvc.type=='GET' or mvc.type=='')}">  
                <a href="${ctx}${mvc.url}" target="_blank">${mvc.url}</a>  
            </c:when>  
            <c:otherwise>${mvc.url}</c:otherwise>  
            </c:choose>  
        </td>  
        <td>${mvc.type}</td>  
    </tr>  
    </c:forEach>  
</table>  
</body>
</html>